package com.ndp.fb.walle.business;

import com.ndp.fb.exception.BusinessException;
import com.ndp.fb.rdb.model.ConnectionObject;
import com.ndp.fb.walle.model.bo.connectionobject.ConnObjectProductConfigBo;
import com.ndp.fb.walle.model.bo.connectionobject.ConnectionObjectBo;

import java.util.List;

/**
 * Created by Administrator on 2014/10/23.
 */
public interface ConnectionObjectService {

    ConnectionObjectBo findByFbConnectionObjectIdAndType(Long connectionobjectId, Integer type) throws BusinessException;


    List<ConnObjectProductConfigBo> searchAppsAndConfigurations(String userId);
    
    List<ConnectionObject> findByUserIdAndType(String userId,Integer type);

    List<ConnectionObject> findOwnerConnObjByUserId(String userId);


    List<ConnectionObject> findByOrgIdAndType(Long orgId, int type);
    
    List<ConnectionObject> findByFbAccountId(Long fbAccountId);
}
